<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	
    <title>{$menus[5]['name']}</title>
    <!-- 框架样式 -->
    <link href="/public/addon/style/css/bootstrap.min.css" rel="stylesheet">
    <link href="/public/addon/style/css/reset.min.css" rel="stylesheet">
	<link rel="stylesheet" href="/public/addon/style/css/add.css">
	 <link rel="stylesheet" href="/public/addon/style/css/common.css"/>
    <!--    自定义样式要放在框架样式下面-->
    <link rel="stylesheet" href="/public/addon/style/css/index2.css">
    <!--   这是自带的兼容最好不要动-->
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	<style>
	.clearfix:after{
		display: "block";
		clear:both;
		height:0;
		content: "";
		visibility: hidden;
		overflow:hidden;
	}
	.clearfix{
		zoom:1;
	}
			.apply_for{
				    width: 92%;
				margin: 0 auto;
				    margin-top: 20px;
			}
		.apply-permission{width:100%;display:flex}
		.apply-permission .span1{width:37%;height:14px;display:block;border-bottom:2px solid #DFDFDF}
		.apply-permission h3{color:#2EA680;font-size: 24px;padding: 0 11px;}
		.apply-p{
			    width: 80%;
			margin: 0 auto;
			
			padding: 5px 0;
			color: #2EA680;
			text-align: center;font-weight:600;
		}
		.input-box{border-bottom: 2px solid #eee;border-top: 2px solid #eee;width:80%;margin:0 auto;padding:0 20px;}
		.input-box>div{float:left;width:50%;padding-top:15px;padding-bottom:25px;}
		.input-box>div>p{color:#2EA680;font-size:14px;font-weight:600;padding-bottom:5px;}
		.input-box>div>p b{color:#ff0000}
		.input-box>div>input{border:1px solid #EEE;width:90%;height:28px;text-indent: 3em;}
		.input-box .div1 input{background:url(/public/addon/style/img/ziliao.png)5px 7px no-repeat;background-size:15px; 12px;}
		.input-box .div2 input{background:url(/public/addon/style/img/ziliao.png)5px 7px no-repeat;background-size:15px; 12px;}
		.input-box .div3 input{background:url(/public/addon/style/img/xinaa.png)5px 6px no-repeat;background-size:15px; 12px;}
		.input-box .div4 input{background:url(/public/addon/style/img/phone.png)5px 5px no-repeat;background-size:12px 15px;}
		.input-box .bbtn{width:100%}
		.bbtn button{width:100px;height:30px;background:#2EA680;text-align:center;color:#fff;font-size:14px;margin:0 auto;    display: block;}
		button,input{
			outline:none;
			border:none;
		
		}
	</style>
</head>

<body>
    <div class="containe">
        <!--    头部开始-->
        <div class="head">
         <include file="Public::Header" />
		 <img src="{$images['img']}" alt="" class="pic">
         </div>
        <!--    头部结束-->
        <!--        中间部分开始-->
        <div class="content">
            <div class="aside">
               <div class="aside-bor"></div>
                    <ul class="aside-ul" id="sidebar" style="height:auto;">
                       <volist name="list" id="list">
						<if condition="$list['id'] eq $form['id']">
                        <li class="aside-bg"><a href="__APP__/Stage/index/Serve/form_id/{$list['id']}.html">{$list['name']}</a><img src="/public/addon/style/images/bg.png" alt=""></li>
						<else />
                        <li><a href="__APP__/Stage/index/Serve/form_id/{$list['id']}.html">{$list['name']}</a></li>
						</if>
                        </volist>
                    </ul>
                
                <div class="main" id="right" style="height:auto;">
                    <ul class="main-ul">
                        <li><a href="">龙腾科技</a><i>&gt;</i></li>
                        <li><a href="__APP__/Stage/index/Serve.html">{$menus[5]['name']}</a><i>&gt;</i></li>
                        <li><a href="#">{$form['name']}</a></li>
                    </ul>
					<if condition="$form_id neq 251">
                    <div class="main-con">
						<if condition = "$list_new['img'] neq null">
                        <img src="{$list_new['img']}" alt="" class="serve-img">
						</if>
						<section>
						{$list_new.value}
						</section>
						<if condition = "$list_new['form_id'] eq 249">
						
					
						
							<div class="apply_for">
								<div class="apply-permission clearfix">
									<span class="span1"></span>
									<h3>申请用户高级权限</h3>
									<span class="span1"></span>
								</div>
								<p class="apply-p">免费获得产线专家陪同体验</p>
							</div>
							
							<div class="input-box clearfix">
								<div class="div1">
									<p>姓名<b>*</b></p>
									<input value="" name="name_t" id="name_t">
								</div>
								<div class="div2">
									<p>公司<b>*</b></p>
									<input value="" name="author_t" id="author_t">
								</div>
								<div class="div3">
									<p>邮箱<b>*</b></p>
									<input value="" name="description_t" id="description_t">
								</div>
								<div class="div4">
									<p>手机<b>*</b></p>
									<input value="" name="intro_t" id="intro_t">
								</div>	
								<div class="bbtn">
									<button  onclick="shenqing();">提交</button>
								</div>						

							</div>
							
						</if>
                    </div>
					<else />
					<form action="" method="post">
                        <div class="concactus-con">
						
                            <img src="{$list_new['img']}" alt="" class="serve-img" style="height:250px;width:895px;display:block;margin:12px 0px;">
                            <div class="concactus">
                                <p>{$list_new['value']}</p>
                                <ul class="concactus-ul">
                                    <li>
                                        <label for="">姓名：</label>
                                        <input type="text" id="name" name="name" placeholder="请输入姓名">
                                    </li>
                                    <li>
                                        <label for="">电话：</label>
                                        <input type="text" id="intro" name="intro" placeholder="请输入电话">
                                    </li>
                                    <li>
                                        <label for="">QQ：</label>
                                        <input type="text" id="author" name="author" placeholder="请输入QQ">
                                    </li>
                                    <li>
                                        <label for="">邮箱：</label>
                                        <input type="text" id="description" name="description" placeholder="请输入邮箱">
                                    </li>
                                </ul>
                                <div class="concactus-div">
                                    <p>有什么是我们可以帮助您的？</p>
                                    <textarea name="value" id="value" cols="50" rows="5"></textarea>
                                   <!-- <p><input type="file" name="keywords" id="keywords" value="浏览"></p> -->
                                    <p><input type="submit" value="提交" class="add-submit"></p>
                                </div>
                            </div>
                        </div>
                    </form>
					</if>
                </div>
            </div>
        </div>
        <!--        中间部分结束-->
        <!--        尾部开始-->
            <include file="Public::Footer" />
    </div>
</body>
<script src="/public/addon/style/js/jquery.min.js"></script>
<script src="/public/addon/style/js/jquery-1.8.2.min.js"></script>
<script src="http://static.hongdayun.com/public/layer/2.2/layer.js"></script>
<!--    bootst是基于jquery开发的 框架所以要先引入jquery-->
<script src="/public/addon/style/js/bootstrap.min.js"></script>
<script type="text/javascript">
			
			
			//申请
			function shenqing(){
				var name = $("#name_t").val();
				var author = $("#author_t").val();
				var description = $("#description_t").val();
				var intro = $("#intro_t").val();
					$.ajax({
						type:'POST',
						url:"__APP__/Stage/Index/tiyan.html",
						data:{
							"name": name,
							"author": author,
							"description": description,
							"intro": intro,
						},
						success:function(info){	
							if (info == 1){
								layer.msg("添加成功");
								setTimeout(tiaozhuan,3000);
							}
						},
						error:function(){
							alert('系统繁忙,请稍候重试！');
						}
					
					});	 
				
			}
			function tiaozhuan(){
				window.location = "__APP__/Stage/Index/Serve/form_id/249.html";
			}
</script>
<!-- <script>
	function SameH(sidebar,right)
{
    var a=document.getElementById('sidebar');
    var b=document.getElementById('right');
   
    if (a.scrollHeight < b.scrollHeight)
    {
        a.style.height= b.scrollHeight+"px";
    }
    else
    {
        b.style.height= a.scrollHeight+"px";
    }
}
SameH();
</script> -->
</html>